/*
 * Author: Jeff Liu(jebberwocky@gmail.com)
 * Date: Sep 7, 2010 9:18:13 PM
 * 
 * License: MIT
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
 * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
package org.gglgeo.ggl;

import java.util.List;

public class GeoObj
{
    public class AddressComponent
    {
        public AddressComponent() {
			super();
		}
		public String getShortName() {
			return shortName;
		}
		public void setShortName(String shortName) {
			this.shortName = shortName;
		}
		public String getLongName() {
			return longName;
		}
		public void setLongName(String longName) {
			this.longName = longName;
		}
		public List<String> getTypes() {
			return types;
		}
		public void setTypes(List<String> types) {
			this.types = types;
		}
		private String shortName;
        private String longName;
        private List<String> types;
    }

    public class GeometryClass
    {
    	public GeoLatLng getLocation() {
			return location;
		}
		public void setLocation(GeoLatLng location) {
			this.location = location;
		}
		public String getLocationType() {
			return locationType;
		}
		public void setLocationType(String locationType) {
			this.locationType = locationType;
		}
		public GeoLatLng getViewPortSW() {
			return viewPortSW;
		}
		public void setViewPortSW(GeoLatLng viewPortSW) {
			this.viewPortSW = viewPortSW;
		}
		public GeoLatLng getViewPortNE() {
			return viewPortNE;
		}
		public void setViewPortNE(GeoLatLng viewPortNE) {
			this.viewPortNE = viewPortNE;
		}
		private GeoLatLng location;
    	private String locationType;
    	private GeoLatLng viewPortSW;
    	private GeoLatLng viewPortNE;
    }

    public String getFormattedAddress() {
		return formattedAddress;
	}
	public void setFormattedAddress(String formattedAddress) {
		this.formattedAddress = formattedAddress;
	}
	public List<String> getTypes() {
		return types;
	}
	public void setTypes(List<String> types) {
		this.types = types;
	}
	public GeometryClass getGeometry() {
		return geometry;
	}
	public void setGeometry(GeometryClass geometry) {
		this.geometry = geometry;
	}
	public List<AddressComponent> getAddressComponents() {
		return addressComponents;
	}
	public void setAddressComponents(List<AddressComponent> addressComponents) {
		this.addressComponents = addressComponents;
	}
	private String formattedAddress;
    private List<String> types;
    private GeometryClass geometry;
    private List<AddressComponent> addressComponents;
}
